

var subNavBar = document.getElementById('subNavBar');
var subContent = document.getElementById('subContent');
// var onBtnFoucs = false;
document.getElementById('tunzhiBtn').onclick = function (evnt) {
    // onBtnFoucs = !onBtnFoucs;
    subNavBar.setAttribute('class', 'sub-nav-animate');
    subContent.innerHTML = `<div class="col-xs-2 no-padding"><a href="../Idea.html">理念</a></div>
                <div class="col-xs-3 no-padding"><a href="../Orgin.html">产地</a></div>
                <div class="col-xs-2 no-padding"><a href="../Material.html">原料</a></div>
                <div class="col-xs-3 no-padding"><a href="../Cadol.html">手造</a></div>
                <div class="col-xs-2 no-padding"><a href="../Produce.html">产品</a></div>`;
}

document.getElementById('aboutUsBtn').onclick = function (evnt) {
    subNavBar.setAttribute('class', 'sub-nav-animate');
    subContent.innerHTML = `<div class="col-xs-4 no-padding"><a href="../Company.html">公司简介</a></div>
            <div class="col-xs-4 no-padding"><a href="../Team.html">团队介绍</a></div>
            <div class="col-xs-4 no-padding"><a href="../Contactus.html">联系我们</a></div> `;
}





